﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using BDGetQuote.Web.Models;
using BDGetQuote.Utilities;

namespace BDGetQuote.Web.Controllers
{
    public class UserInfoController : Controller
    {
        //
        // GET: /UserInfo/

        public ActionResult Index()
        {
            return View();
        }
        [ChildActionOnly]
        public ActionResult UserInfoNavigation()
        {
            var _user = (UserInfo)Session[Constants.SessionUser];
            ViewBag.FullName = _user.FirstName + " " + _user.LastName;
            return PartialView();
        }

    }
}
